package cn.edu.scau.cmi.liuyonglin.chapter6;

public class Student {
	public double area(Geometry...p) {
		double result = 0;
		for(int i = 0;i<p.length;i++) {
			result+=p[i].getArea();
		}
		return result;
	}
}
